package com.mydemo.common.exception;

/**
 * 自定义异常
 * @author Last_Island
 * @version 1.0
 */
public class BaseException extends RuntimeException{

    private static final long serialVersionUID = 1L;

    private String module;

    private String message;

    public BaseException(String module, String message) {
        this.module = module;
        this.message = message;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
